package com.yizn.learn.springext.applicationrunner;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * project : my-learn
 * <p> 6.项目启动时 </p>
 *
 * @author yisl
 * @date 2023-01-13【星期五】
 **/
@Component
public class TestRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("启动做一些事情");
    }
}
